﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace BookSystem
{
    public partial class UpdateUserForm : Form
    {
        public UpdateUserForm()
        {
            InitializeComponent();
        }

        private void UpdateUserForm_Load(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            string mi = this.textBox1.Text;
            string ma = this.textBox7.Text;
            string sql = string.Format("select * from T_Users Name='{0}',pswd='{1}'",mi,ma);
            DataTable da = DBHepler.SqlDataAdapter(sql);
            if (da.Rows.Count > 0)
            {
            }
        }
    }
}
